package com.shycloud.mido.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.member.api.entity.OnlineCourseInfo;
import com.shycloud.mido.member.api.vo.OnlineCoursePeriodVO;
import com.shycloud.mido.member.api.vo.TeacherCourseVO;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author Xiaoxing Yu
 * @date 2020/10/16
 **/
public interface OnlineCourseInfoMapper extends BaseMapper<OnlineCourseInfo> {

	List<TeacherCourseVO> getOrgTeacherCourseList(@Param("orgId") Integer orgId);

	IPage<OnlineCoursePeriodVO> getTeacherCourseDetail(@Param("page") Page page, @Param("teacherId") String teacherId);
}
